package com.computec.indicadores.envios.listener;
import com.computec.indicadores.base.constantes.ConstantesGenerales;
import com.computec.indicadores.envios.delegate.IndicadoresEnvioDelegate;
import com.computec.indicadores.envios.exception.IndicadoresEnvioException;
import javax.servlet.ServletContextListener;
import javax.servlet.ServletContextEvent;

/**
 *
 * @author  jlperea
 * @version
 *
 * Web application lifecycle listener.
 */

public class ContextListenerCalculoIndicadoresEnvios implements ServletContextListener {
    /**
     * ### Method from ServletContextListener ###
     * 
     * Called when a Web application is first ready to process requests
     * (i.e. on Web server startup and when a context is added or reloaded).
     * 
     * For example, here might be database connections established
     * and added to the servlet context attributes.
     */
    public void contextInitialized(ServletContextEvent evt) 
    {
        
    }

    /**
     * ### Method from ServletContextListener ###
     * 
     * Called when a Web application is about to be shut down
     * (i.e. on Web server shutdown or when a context is removed or reloaded).
     * Request handling will be stopped before this method is called.
     * 
     * For example, the database connections can be closed here.
     */
    public void contextDestroyed(ServletContextEvent evt) 
    {        
    }   
}
